import React, { Component } from 'react';
import Home from "../components/home/Home";
import { Route, Switch } from 'react-router-dom';
import Find from "../components/find";
import Chat from '../components/chat'
export default class CRouter extends Component {
    render() {
        return (
            <Switch>
                <Route component={Home} path="/app/home/index" />
                <Route component={Find} path="/app/find/index" />
                <Route component={Chat} path="/app/chat/index" />
            </Switch>
        )
    }
}

